<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    li {
      list-style: none;
    }

    .box {
      width: 500px;
      height: 400px;
      border: 1px solid #ccc;
      margin: 100px auto;
      /* 上 40  左和右  28  下 不要 */
      padding: 40px 28px 0;
    }

    .box h2 {
      height: 43px;
      border-bottom: 1px solid #ccc;
    }

    .box ul li {
      height: 50px;
      line-height: 50px;
      border-bottom: 1px dashed #ccc;
      /* dashed 大师的 */
      padding-left: 30px;
    }

    .box ul li a {
      color: #333;
      text-decoration: none;
    }

    .box ul li a:hover {
      text-decoration: underline;
    }
  </style>
</head>

<body>
  <div class="box">
    <h2>最新文章/NEW xxx</h2>
    <ul>
      <li><a href="#">体验javascript的魅力</a></li>
      <li><a href="#">体验javascript的魅力</a></li>
      <li><a href="#">体验javascript的魅力</a></li>
      <li><a href="#">体验javascript的魅力</a></li>
      <li><a href="#">体验javascript的魅力</a></li>
      <li><a href="#">体验javascript的魅力</a></li>
    </ul>
  </div>
</body>

</html>